FROM registry:5000/hadoop-2.7.2-pseudo:v1

# ADD https://archive.apache.org/dist/spark/spark-2.4.8/spark-2.4.8-bin-hadoop2.7.tgz / 
ADD spark-2.4.8-bin-hadoop2.7.tgz /
ADD spark.sh /etc/profile.d/

ENV SPARK_HOME=/spark-2.4.8-bin-hadoop2.7
ENV SPARK_CONF_DIR=/spark-2.4.8-bin-hadoop2.7/conf
ENV PATH=$PATH:$SPARK_HOME/bin

